﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TemplateInfo.cs" company="Scrum for Team System">
//   None
// </copyright>
// <summary>
//   The installed process template.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace ScrumForTeamSystem.Setup.SfTSDeployment
{
    using System;

    /// <summary>
    /// The installed process template.
    /// </summary>
    public class TemplateInfo
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="TemplateInfo"/> class.
        /// </summary>
        /// <param name="id">
        /// The id.
        /// </param>
        /// <param name="name">
        /// The name.
        /// </param>
        /// <param name="isScrumTemplate">
        /// The is scrum template.
        /// </param>
        /// <param name="scrumVersion">
        /// The scrum version.
        /// </param>
        public TemplateInfo(int id, string name, bool isScrumTemplate, Version scrumVersion)
        {
            this.Id = id;
            this.Name = name;
            this.IsScrumTemplate = isScrumTemplate;
            this.ScrumVersion = scrumVersion;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="TemplateInfo"/> class.
        /// </summary>
        public TemplateInfo()
        {
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets or sets Id.
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether IsScrumTemplate.
        /// </summary>
        public bool IsScrumTemplate { get; set; }

        /// <summary>
        /// Gets or sets Name.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets ScrumVersion.
        /// </summary>
        public Version ScrumVersion { get; set; }

        #endregion
    }
}